<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"></meta>
    <title>Hello</title>
</head>
<body>
<p>姓名:<span th:text="${username}">李四</span></p>
<p>姓名:<span th:text="|你好${username}|">李四</span></p>
<p>姓名:<span th:text="'hello'+${username}">李四</span></p>
</body>
</html>